package com.micro.ai.files.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 存储配置响应DTO
 * 
 * @author micro-ai
 * @since 0.0.1
 */
@Data
@Schema(description = "存储配置信息")
public class StorageConfigDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "配置ID", example = "config_123456789")
    private String id;

    @Schema(description = "租户ID", example = "tenant_001")
    private String tenantId;

    @Schema(description = "存储提供商", example = "s3")
    private String provider;

    @Schema(description = "配置名称", example = "AWS S3 主存储")
    private String configName;

    @Schema(description = "服务端点", example = "s3.amazonaws.com")
    private String endpoint;

    @Schema(description = "区域", example = "us-east-1")
    private String region;

    @Schema(description = "存储桶名称", example = "my-bucket")
    private String bucketName;

    @Schema(description = "是否默认配置", example = "true")
    private Boolean isDefault;

    @Schema(description = "状态", example = "active")
    private String status;

    @Schema(description = "创建人ID", example = "user_001")
    private String createdBy;

    @Schema(description = "创建时间", example = "2025-01-01 00:00:00")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间", example = "2025-01-01 00:00:00")
    private LocalDateTime updatedAt;
}

